#pragma once
#include "Structs.h"
#include "Defines.h"
class  ENGINE_API Timmer
{
	friend class Game;	
public:
	Timmer(void);
	~Timmer(void);
	double GetDT();
	unsigned int GetFPS();
private:
	void FristMeasure();
	void Measure();

	LARGE_INTEGER Frecuency;
	LARGE_INTEGER ActualTime;
	LARGE_INTEGER LastTime;
	double DeltaTime;
	double MeasureFPSSample;
	unsigned int FrameCounter;
	unsigned int FPS;
};

